#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();

private slots:

    void on_button0_clicked();
    void on_button1_clicked();
    void on_button2_clicked();
    void on_button3_clicked();
    void on_button4_clicked();
    void on_button5_clicked();
    void on_button6_clicked();
    void on_button7_clicked();
    void on_button8_clicked();
    void on_button9_clicked();

    void on_buttonPot_clicked();

    void on_buttonAdd_clicked();
    void on_buttonSub_clicked();
    void on_buttonMul_clicked();
    void on_buttonDiv_clicked();

    void on_buttonRem_clicked();
    void on_buttonLft_clicked();
    void on_buttonRig_clicked();
    void on_buttonCal_clicked();
    void on_buttonClr_clicked();
    void on_buttonDel_clicked();


private:
    Ui::Widget *ui;
    double result=0;
    int count=0;
    char formula[500]="InPut Formula";
};

#endif // WIDGET_H
